﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using FeedAntGame.Control;

namespace FeedAntGame.Sprite.Event
{
    sealed class CandyPickerSprite : EventSprite
    {
        Vector2 backPos;
        Candy.TYPE type = Candy.TYPE.NONE;

        internal Candy.TYPE Type
        {
            get { return type; }
            set { type = value; }
        }
        public Vector2 BackPos
        {
            get { return backPos; }
            set { backPos = value; }
        }
        /************************************************************************/
        /*                      Constructor                                                                     */
        /************************************************************************/
        public CandyPickerSprite(Texture2D normalBackground,Vector2 position, Point frameSize,
            int collisionOffset, Point sheetSize, Vector2 speed, string collisionCueName, float scale, Vector2 backPos,
            Candy.TYPE type)
            : base(normalBackground, normalBackground, normalBackground, normalBackground, position, frameSize,
            collisionOffset,sheetSize,speed,collisionCueName,scale)        
        {
            this.backPos = backPos;
            this.type = type;
        }

    }
}
